﻿using Microsoft.AspNetCore.Mvc;
using Orther.BLL.Miyao;
using Orther.Model.param;
using Orther.Service.Sys;
using Project.Utils;
using System.Collections.Generic;
using VOL.Core.Filters;
using VOL.Entity.DomainModels;

namespace VOL.WebApi.Controllers.Sys
{
    [Route("api/sys")]
    public class SysController : Controller
    {
        SysService sysService = new SysService();
        [HttpGet, Route("GetColValueByKey")]
        public object GetColValueByKey(string tableName, string selectColName, string whereKey, string whereKeyValue)
        {
            object result = sysService.GetColValueByKey(tableName, selectColName, whereKey, whereKeyValue);
            return result;
        }
    }
}
